﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace OrBitDataModule.CustomEventHandler
{
    public class HttpRequestEventArgs
    {
        /// <summary>
        /// 客户端的请求
        /// </summary>
        public HttpListenerRequest Request { get; }
        /// <summary>
        /// 客户端的响应对象
        /// </summary>
        public HttpListenerResponse Response { get; }

        public HttpRequestEventArgs(HttpListenerRequest request, HttpListenerResponse response)
        {
            Request = request;
            Response = response;
        }
    }
}
